/*   1:    */ package nl.siegmann.epublib.viewer;
/*   2:    */ 
/*   3:    */ import java.awt.Cursor;
/*   4:    */ import java.io.IOException;
/*   5:    */ import java.io.InputStream;
/*   6:    */ import java.io.OutputStream;
/*   7:    */ import java.io.Reader;
/*   8:    */ import java.io.Writer;
/*   9:    */ import javax.accessibility.AccessibleContext;
/*  10:    */ import javax.swing.Action;
/*  11:    */ import javax.swing.JEditorPane;
/*  12:    */ import javax.swing.text.BadLocationException;
/*  13:    */ import javax.swing.text.Caret;
/*  14:    */ import javax.swing.text.Document;
/*  15:    */ import javax.swing.text.Element;
/*  16:    */ import javax.swing.text.MutableAttributeSet;
/*  17:    */ import javax.swing.text.ViewFactory;
/*  18:    */ import javax.swing.text.html.HTML.Tag;
/*  19:    */ import javax.swing.text.html.HTMLDocument;
/*  20:    */ import javax.swing.text.html.HTMLEditorKit;
/*  21:    */ import javax.swing.text.html.HTMLEditorKit.Parser;
/*  22:    */ import javax.swing.text.html.StyleSheet;
/*  23:    */ 
/*  24:    */ class MyHtmlEditorKit
/*  25:    */   extends HTMLEditorKit
/*  26:    */ {
/*  27:    */   private HTMLEditorKit htmlEditorKit;
/*  28:    */   
/*  29:    */   public MyHtmlEditorKit(HTMLEditorKit htmlEditorKit)
/*  30:    */   {
/*  31: 35 */     this.htmlEditorKit = htmlEditorKit;
/*  32:    */   }
/*  33:    */   
/*  34:    */   public HTMLEditorKit.Parser getParser()
/*  35:    */   {
/*  36: 39 */     return super.getParser();
/*  37:    */   }
/*  38:    */   
/*  39:    */   public int hashCode()
/*  40:    */   {
/*  41: 42 */     return this.htmlEditorKit.hashCode();
/*  42:    */   }
/*  43:    */   
/*  44:    */   public Element getCharacterAttributeRun()
/*  45:    */   {
/*  46: 46 */     return this.htmlEditorKit.getCharacterAttributeRun();
/*  47:    */   }
/*  48:    */   
/*  49:    */   public Caret createCaret()
/*  50:    */   {
/*  51: 50 */     return this.htmlEditorKit.createCaret();
/*  52:    */   }
/*  53:    */   
/*  54:    */   public void read(InputStream in, Document doc, int pos)
/*  55:    */     throws IOException, BadLocationException
/*  56:    */   {
/*  57: 55 */     this.htmlEditorKit.read(in, doc, pos);
/*  58:    */   }
/*  59:    */   
/*  60:    */   public boolean equals(Object obj)
/*  61:    */   {
/*  62: 59 */     return this.htmlEditorKit.equals(obj);
/*  63:    */   }
/*  64:    */   
/*  65:    */   public void write(OutputStream out, Document doc, int pos, int len)
/*  66:    */     throws IOException, BadLocationException
/*  67:    */   {
/*  68: 64 */     this.htmlEditorKit.write(out, doc, pos, len);
/*  69:    */   }
/*  70:    */   
/*  71:    */   public String getContentType()
/*  72:    */   {
/*  73: 68 */     return this.htmlEditorKit.getContentType();
/*  74:    */   }
/*  75:    */   
/*  76:    */   public ViewFactory getViewFactory()
/*  77:    */   {
/*  78: 72 */     return this.htmlEditorKit.getViewFactory();
/*  79:    */   }
/*  80:    */   
/*  81:    */   public Document createDefaultDocument()
/*  82:    */   {
/*  83: 76 */     return this.htmlEditorKit.createDefaultDocument();
/*  84:    */   }
/*  85:    */   
/*  86:    */   public void read(Reader in, Document doc, int pos)
/*  87:    */     throws IOException, BadLocationException
/*  88:    */   {
/*  89: 81 */     this.htmlEditorKit.read(in, doc, pos);
/*  90:    */   }
/*  91:    */   
/*  92:    */   public void insertHTML(HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag insertTag)
/*  93:    */     throws BadLocationException, IOException
/*  94:    */   {
/*  95: 87 */     this.htmlEditorKit.insertHTML(doc, offset, html, popDepth, pushDepth, insertTag);
/*  96:    */   }
/*  97:    */   
/*  98:    */   public String toString()
/*  99:    */   {
/* 100: 92 */     return this.htmlEditorKit.toString();
/* 101:    */   }
/* 102:    */   
/* 103:    */   public void write(Writer out, Document doc, int pos, int len)
/* 104:    */     throws IOException, BadLocationException
/* 105:    */   {
/* 106: 97 */     this.htmlEditorKit.write(out, doc, pos, len);
/* 107:    */   }
/* 108:    */   
/* 109:    */   public void install(JEditorPane c)
/* 110:    */   {
/* 111:101 */     this.htmlEditorKit.install(c);
/* 112:    */   }
/* 113:    */   
/* 114:    */   public void deinstall(JEditorPane c)
/* 115:    */   {
/* 116:105 */     this.htmlEditorKit.deinstall(c);
/* 117:    */   }
/* 118:    */   
/* 119:    */   public void setStyleSheet(StyleSheet s)
/* 120:    */   {
/* 121:109 */     this.htmlEditorKit.setStyleSheet(s);
/* 122:    */   }
/* 123:    */   
/* 124:    */   public StyleSheet getStyleSheet()
/* 125:    */   {
/* 126:113 */     return this.htmlEditorKit.getStyleSheet();
/* 127:    */   }
/* 128:    */   
/* 129:    */   public Action[] getActions()
/* 130:    */   {
/* 131:117 */     return this.htmlEditorKit.getActions();
/* 132:    */   }
/* 133:    */   
/* 134:    */   public MutableAttributeSet getInputAttributes()
/* 135:    */   {
/* 136:121 */     return this.htmlEditorKit.getInputAttributes();
/* 137:    */   }
/* 138:    */   
/* 139:    */   public void setDefaultCursor(Cursor cursor)
/* 140:    */   {
/* 141:125 */     this.htmlEditorKit.setDefaultCursor(cursor);
/* 142:    */   }
/* 143:    */   
/* 144:    */   public Cursor getDefaultCursor()
/* 145:    */   {
/* 146:129 */     return this.htmlEditorKit.getDefaultCursor();
/* 147:    */   }
/* 148:    */   
/* 149:    */   public void setLinkCursor(Cursor cursor)
/* 150:    */   {
/* 151:133 */     this.htmlEditorKit.setLinkCursor(cursor);
/* 152:    */   }
/* 153:    */   
/* 154:    */   public Cursor getLinkCursor()
/* 155:    */   {
/* 156:137 */     return this.htmlEditorKit.getLinkCursor();
/* 157:    */   }
/* 158:    */   
/* 159:    */   public boolean isAutoFormSubmission()
/* 160:    */   {
/* 161:141 */     return this.htmlEditorKit.isAutoFormSubmission();
/* 162:    */   }
/* 163:    */   
/* 164:    */   public void setAutoFormSubmission(boolean isAuto)
/* 165:    */   {
/* 166:145 */     this.htmlEditorKit.setAutoFormSubmission(isAuto);
/* 167:    */   }
/* 168:    */   
/* 169:    */   public Object clone()
/* 170:    */   {
/* 171:149 */     return this.htmlEditorKit.clone();
/* 172:    */   }
/* 173:    */   
/* 174:    */   public AccessibleContext getAccessibleContext()
/* 175:    */   {
/* 176:153 */     return this.htmlEditorKit.getAccessibleContext();
/* 177:    */   }
/* 178:    */ }


/* Location:           C:\Users\David\workspace\CosaRaraPorqueSi\main\epublib-tools-3.1.jar
 * Qualified Name:     nl.siegmann.epublib.viewer.MyHtmlEditorKit
 * JD-Core Version:    0.7.0.1
 */